package com.kdd.campus.sh.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Auther: fcp
 * @Date: 2020/4/29 21:54
 * @Description: 修改订单信息时使用
 */
@Data
public class ChangeOrderDto {
    @NotNull
    private Integer id;

//    @NotNull
//    private Integer buyerId;

    @NotEmpty
    private String receiverName;//用户名

    @NotEmpty
    private String phone;//电话号码

    @ApiModelProperty(value = "大学名称")
    @NotEmpty
    private String receiverUniversity;

    @ApiModelProperty(value = "校区")
    @NotEmpty
    private String receiverCampus;//

    @ApiModelProperty(value = "宿舍楼")
    private String receiverDormitory;//

    @ApiModelProperty(value = "房间")
    private String receiverRoom;//

    private String receiverProvince;

    private String receiverCity;

    private String receiverArea;

    @ApiModelProperty(value = "备注")
    private String receiverComment;//
}
